package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 收款退款单明细
 * </p>
 *
 * @author WuZH
 * @since 2024-08-04
 */
@Getter
@Setter
@TableName ( "erp_king_finance_receipt_refund_detail_info" )
@ApiModel ( value = "KingReceiptRefundDetailEntity对象", description = "收款退款单明细" )
public class KingFinanceReceiptRefundDetailEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ( "id" )
    @TableId ( value = "id", type = IdType.INPUT )
    private String id;

    @ApiModelProperty ( "付款退款单Id" )
    @TableField ( "receipt_refund_id" )
    private String receiptRefundId;

    @ApiModelProperty ( "结算方式表Id" )
    @TableField ( "king_settlement_type_code" )
    private String kingSettlementTypeCode;

    @ApiModelProperty ( "原收款用途" )
    @TableField ( "receipt_purpose_code" )
    private String receiptPurposeCode;

    @ApiModelProperty ( "应退金额" )
    @TableField ( "cope_refund_money" )
    private String copeRefundMoney;

    @ApiModelProperty ( "实退金额" )
    @TableField ( "actual_refund_money" )
    private String actualRefundMoney;

    @ApiModelProperty ( "现金折扣" )
    @TableField ( "cash_discount" )
    private String cashDiscount;

    @ApiModelProperty ( "折后金额" )
    @TableField ( "discounted_money" )
    private String discountedMoney;

    @ApiModelProperty ( "手续费" )
    @TableField ( "handling_fees" )
    private String handlingFees;

    @ApiModelProperty ( "长短款" )
    @TableField ( "long_short_pay" )
    private String longShortPay;

    @ApiModelProperty ( "我方银行账号" )
    @TableField ( "bank_number" )
    private String bankNumber;

    @ApiModelProperty ( "现金账号" )
    @TableField ( "cash_number" )
    private String cashNumber;

    @ApiModelProperty ( "结算号" )
    @TableField ( "settlement_number" )
    private String settlementNumber;

    @ApiModelProperty ( "备注" )
    @TableField ( "remarks" )
    private String remarks;

    @ApiModelProperty ( "银行处理状态" )
    @TableField ( "back_processing_status" )
    private String backProcessingStatus;

    @ApiModelProperty ( "提交银行状态" )
    @TableField ( "submit_bank_status" )
    private String submitBankStatus;

    @ApiModelProperty ( "销售订单编号" )
    @TableField ( "sale_no" )
    private String saleNo;

    @ApiModelProperty ( "销售订单Id" )
    @TableField ( "sale_id" )
    private String saleId;

    @ApiModelProperty ( "销售订单行号" )
    @TableField ( "sale_line_number" )
    private String saleLineNumber;

    @ApiModelProperty ( "行号" )
    @TableField ( "line_number" )
    private String lineNumber;

    @ApiModelProperty ( "物料编码" )
    @TableField ( "material_code" )
    private String materialCode;

    @ApiModelProperty ( "含税单价" )
    @TableField ( "tax_price" )
    private String taxPrice;

    @ApiModelProperty ( "数量" )
    @TableField ( "num" )
    private String num;

    @ApiModelProperty ( "费用项目编码" )
    @TableField ( "fee_code" )
    private String feeCode;

    @ApiModelProperty ( "费用承担部门" )
    @TableField ( "fee_bear_dept_code" )
    private String feeBearDeptCode;

    @ApiModelProperty ( "源单类型" )
    @TableField ( "source_doc_type" )
    private Integer sourceDocType;

    @ApiModelProperty ( "源单/付款单id" )
    @TableField ( "source_id" )
    private String sourceId;

    @ApiModelProperty ( "源单明细/付款单明细行id" )
    @TableField ( "source_detail_id" )
    private String sourceDetailId;

    @ApiModelProperty ( "创建人" )
    @TableField ( "create_user_id" )
    private String createUserId;

    @ApiModelProperty ( "创建时间" )
    @TableField ( "create_date" )
    private Date createDate;

    @ApiModelProperty ( "更新人Id" )
    @TableField ( "update_user_id" )
    private String updateUserId;

    @ApiModelProperty ( "更新时间" )
    @TableField ( "update_date" )
    private Date updateDate;

    @ApiModelProperty ( "是否可用" )
    @TableField ( "is_used" )
    private Integer isUsed;

    @ApiModelProperty ( "结算方式名称" )
    @TableField ( exist = false)
    private String kingSettlementTypeName;

    @ApiModelProperty ( "原收款用途" )
    @TableField ( exist = false)
    private String receiptPurposeName;

}
